const config = {
  VERSION: "'1.0.0'",
  IMG_OSS_URL: "'https://oss.img.com'",
};

module.exports = function (env) {
  let envConfig = {};
  if (env.CONFIG_ENV === 'dev') {
    envConfig = { ...config, ...require('./dev') };
  } else {
    envConfig = { ...config, ...require('./prod') };
  }
  return envConfig;
};
